package Array;

public class arraySummation {
    public static void main(String[] args) {
//        int[] a = new int[3];
//        a[1] = 1;
//        System.out.println(a[1]);
        int[] a = {13, 15, 12, 17};
        int sum = 0;
        for (int i = 0; i < a.length; i++) {
            sum += a[i];
        }
        System.out.println(sum);
    }
}
